﻿namespace StyleCop.For.ReSharper.TestProject
{
    #region Using Directives

    using System;
    using System.ComponentModel;
    using System.Globalization;

    #endregion

    /// <summary>
    /// This is  a doc for the class.
    /// </summary>
    public class Test1611ElementParametersMustBeDocumented
    {
        #region Public Methods

        /// <summary>
        /// Converts the given value object to the specified type, using the specified context and culture information.
        /// </summary>
        /// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext"/> that provides a format context.</param>
        /// <param name="culture">A <see cref="T:System.Globalization.CultureInfo"/>. If null is passed, the current culture is assumed.</param>
        /// <param name="value">The <see cref="T:System.Object"/> to convert.</param>
        /// <param name="destinationType">The <see cref="T:System.Type"/> to convert the <paramref name="value"/> parameter to.</param>
        /// <returns>
        /// An <see cref="T:System.Object"/> that represents the converted value.
        /// </returns>
        /// <exception cref="T:System.ArgumentNullException">The <paramref name="value"/> parameter is null. </exception>
        /// <exception cref="T:System.ArgumentNullException">The <paramref name="destinationType"/> parameter is null. </exception>
        /// <exception cref="T:System.NotSupportedException">The conversion cannot be performed. </exception>
        public object Method1(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
        {
            return null;
        }

        /// <summary>
        ///    This is the doc header.   
        /// </summary>
        /// <returns>
        ///   Returns section is not empty.  
        /// </returns>
        public string TestFor1611(string arg1)
        {
            return arg1;
        }

        #endregion
    }
}